package com.qdl.rym.system.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.qdl.rym.system.po.Album;
import com.qdl.rym.system.po.FileRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Set;

/**
 * @Description: AlbumDTO
 * @Author: ChenXueLi
 * @Date: 2019/3/19 14:12
 * 你是一段成熟的代码，要学会自己改bug
 */
@Data
@ApiModel("相册返回对象")
public class AlbumDTO {

    @ApiModelProperty(value = "相册id", name = "albumId")
    private Integer albumId;

    @ApiModelProperty(value = "相册信息", name = "album")
    private Album album;

//    @ApiModelProperty(value = "文件信息（图片）", name = "static/file")
//    private FileRecord file;

    @ApiModelProperty(value = "文件信息（图片）", name = "files")
    private List<FileRecord> files;

}
